#ifndef TRIGGER_EVENT_H
#define TRIGGER_EVENT_H

#include "NxOgre.h"

class TriggerEvent: public NxOgre::Callback
{
    public:
        TriggerEvent(NxOgre::Vec3 _size, NxOgre::Vec3 _startPosition);
        ~TriggerEvent();

		NxOgre::Volume* getTrigger() const;

        //Callback.
        void onVolumeEvent(NxOgre::Volume* _volume, NxOgre::Shape* _volumeShape, NxOgre::RigidBody* _rigidBody, 
                            NxOgre::Shape* _rigidBodyShape, unsigned int _collisionEvent);
    private:
        NxOgre::Volume* trigger;
};

#endif